package com.lachesis.molecule.common.dbquery;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="PageQueryResult", description="用于传输分页查询结果")
public class PageQueryResult<T> {

	public PageQueryResult()
	{
		
	}
	
	@ApiModelProperty(value="查询的对象总数量")
	long totalCnt;
	
	@ApiModelProperty(value="查询的结果集")
	List<T> queryResult;
	
	public long getTotalCnt() {
		return totalCnt;
	}
	public void setTotalCnt(long totalCnt) {
		this.totalCnt = totalCnt;
	}
	public List<T> getQueryResult() {
		return queryResult;
	}
	public void setQueryResult(List<T> queryResult) {
		this.queryResult = queryResult;
	}
	
	
}
